package com.onlyxiahui.common.message;

import javax.validation.Valid;

import com.onlyxiahui.common.message.base.HeadImpl;

/**
 * 
 * Description <br>
 * Date 2020-02-24 11:41:29<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @param <B>
 * @since 1.0.0
 */

public class MessageParameter<B> {

	private HeadImpl head;
	@Valid
	private B body;

	public HeadImpl getHead() {
		return head;
	}

	public void setHead(HeadImpl head) {
		this.head = head;
	}

	public B getBody() {
		return body;
	}

	public void setBody(B body) {
		this.body = body;
	}
}
